import request from '@/utils/request'

// 根据factoryId获取模型信息
export const modelGetListService = (params) => request.get('/model/list', { params })

// 上传数据
export const modelSubmitService = (data) => request.post('/model/submit', data)

// 上传文件
export const fileSubmitService = (data) => request.post('/model/upload', data)

// 请求文件
export const fileDownLoadService = (params) => request.get('/model/download', { params, responseType: 'blob' })